home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / ip / ka9q / osrc.arc / FTP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-04-16  |  414 b   |  21 lines

  1. /* Definitions common to both FTP servers and clients */
  2.  
  3. #ifndef    ASCII_TYPE
  4.  
  5. #define    BLKSIZE    2048    /* Chunk size for file I/O */
  6.  
  7. #define    ASCII_TYPE    0
  8. #define    IMAGE_TYPE    1
  9. #define    LOGICAL_TYPE    2
  10.  
  11. #if    defined(__STDC__) || defined(__TURBOC__)
  12. long sendfile(FILE *fp,int s,int mode);
  13. long recvfile(FILE *fp,int s,int mode);
  14. #else
  15. long sendfile();
  16. long recvfile();
  17. #endif
  18.  
  19. #endif    /* ASCII_TYPE */
  20.  
  21.